﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhongMachTu.OModel
{
    class Patient
    {
        private int _patienId, _viID;
        private string _fullname, _address, _visitDate, _symptom, _disease, _status;
        private DateTime _dob;
        //female:0; male:1
        private bool _sex;
        private Visit visitInfo;

        internal Visit VisitInfo
        {
            get { return visitInfo; }
            set { visitInfo = value; }
        }


        public Patient()
        {
        }

        public Patient(int patientId, string fullname, DateTime dob, bool sex, string address)
        {
            _patienId = patientId;
            _fullname = fullname;
            _dob = dob;
            _sex = sex;
            _address = address;
        }

        public Patient(int patientId, string fullname, DateTime dob, bool sex, string address, int viID)
        {
            _patienId = patientId;
            _fullname = fullname;
            _dob = dob;
            _sex = sex;
            _address = address;
            _viID = viID;
        }

        public int ViID
        {
            get { return _viID; }
            set { _viID = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public string Disease
        {
            get { return _disease; }
            set { _disease = value; }
        }

        public string Symptom
        {
            get { return _symptom; }
            set { _symptom = value; }
        }

        public string VisitDate
        {
            get { return _visitDate; }
            set { _visitDate = value; }
        }


        public int PatienId
        {
            get { return _patienId; }
            set { _patienId = value; }
        }

        public string Fullname
        {
            get { return _fullname; }
            set { _fullname = value; }
        }

        public DateTime Dob
        {
            get { return _dob; }
            set { _dob = value; }
        }

        public bool Sex
        {
            get { return _sex; }
            set { _sex = value; }
        }

        public string Address
        {
            get { return _address; }
            set
            {
                _address = value;
            }
        }

    }
}
